3. Determine the output displayed in the text box when the button is clicked. Assume the response is B Private Sub...
3. Determine the output displayed in the text box when the button is clicked. Assume the response is B
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim letter As String
letter = InputBox("Enter A, B, or C.")
letter = letter.ToUpper
If letter = "A" Then
txtOutput.Text = "A, my name is Alice."
ElseIf letter = "B" Then
txtOutput.Text = "To be, or not to be."
ElseIf letter = "C" Then
txtOutput.Text = "Oh, say, can you see."
Else
txtOutput.Text = "Not a valid letter."
End If
End Sub
12 years ago
5
Answer(4)![blurred-text]()
![]()
![blurred-text]()
![]()
![blurred-text]()
![]()
![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
Purchase the answer to view it

NOT RATED
Purchase the answer to view it

NOT RATED
Purchase the answer to view it

NOT RATED
- answer.txt
Bids(0)